<?php
/*
Plugin Name: Twitter User Field
Plugin URI: http://aaron.jorb.in
Description: Makes the admin only have twitter as a contact method
Author: Aaron Jorbin
Version: 0.0
Author URI: http://aaron.jorb.in/
*/
/*
 * 		Copywrite 2010 Aaron Jorbin (aaron@jorb.in)
 *
 *      This program is free software; you can redistribute it and/or modify
 *      it under the terms of the GNU General Public License as published by
 *      the Free Software Foundation; either version 2 of the License, or
 *      (at your option) any later version.
 *
 *      This program is distributed in the hope that it will be useful,
 *      but WITHOUT ANY WARRANTY; without weven the implied warranty of
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *      GNU General Public License for more details.
 *
 *      You should have received a copy of the GNU General Public License
 *      along with this program; if not, write to the Free Software
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 *      MA 02110-1301, USA.
 */
add_filter('user_contactmethods', 'jorbin_user_contactmethods');

/**
 * Removes AIM, YAHOO, and Jabber boxes from profile page and adds Twitter in it's place
 *
 */
function jorbin_user_contactmethods($user_contactmethods){
	$new_user_contactmethods['twitter'] = __('Twitter');

	return $new_user_contactmethods;
}
